import pandas as pd

df = pd.DataFrame({
    'k1':['one'] * 3 +['two'] * 4,
    'k2':[1,1,2,3,3,4,4]
})
df['v1'] = range(7)
print(df)